package com.js.sys.fragment.view.fifth;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import androidx.appcompat.widget.Toolbar;

import com.js.lib_common.base.BaseFragment;
import com.js.sys.R;

import butterknife.BindView;
import butterknife.OnClick;


/**
 * Created by zwz on 2020/4/22.
 */
public class SafeFragment extends BaseFragment {


    @BindView(R.id.toolbar)
    Toolbar toolbar;
    @BindView(R.id.toolbar_title)
    TextView toolbarTitle;
//    Unbinder unbinder;

    public static SafeFragment newInstance() {

        Bundle args = new Bundle();
        SafeFragment fragment = new SafeFragment();
        fragment.setArguments(args);
        return fragment;
    }



    @Override
    protected int getLayoutId() {
        return R.layout.fragment_tab_fifith_safe;
    }

    @Override
    protected void initView() {
        initToolbarNav(toolbar);
        toolbarTitle.setText("账号与安全");
    }


    @OnClick({R.id.ll_pwd})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.ll_pwd:
                //                start(PassWordFragment.newInstance());
                ////                ((MainFragment) getParentFragment()).startBrotherFragment
                ////                        (PassWordFragment.newInstance());
//                EventBus.getDefault().post(new StartBrotherEvent(PassWordFragment.newInstance()));
                break;


        }
    }

}
